package com.zhuliwei.entity;
public class Layer {
        private int index;   // 编号，从 1 开始
        private int weight;  // 重量传感器数值，单位 g

        public Layer(int index, int weight) {
            this.index = index;
            this.weight = weight;
        }

        public int getIndex() {
            return index;
        }

        public int getWeight() {
            return weight;
        }
    }